<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<title>Phyane Inc.</title>

<script type="text/javascript">
	var height=window.screen.height; 
	var width=window.screen.width; 
	</script>
</head>
<body>
	<script type="text/javascript">
	  //处理标题图片的点击跳转 
	  function action(){
		document.getElementById("Menu").action="/phyane/home/Home.action";
		document.getElementById("Menu").submit;
	  }
	  
	  /*处理菜单上的点击事件*/
	  function menuClick(id,name){
		var action = "/phyane/"+name+"/";
		switch(id){
		case 0:
			action +="Home.action";
			break;
		case 1:
			action += "ListNews.action";
			break;
		case 2:
			action += "Charge.action";
			break;
		case 3:
			action += "EnterBbs.action";
			break;
		case 4:
			action += "AboutUs.action";
			break;
		case 5:
			action += "ShowLink.action";
			break;
		default:
			return;
		}
		document.getElementById("Menu").action=action;
		document.getElementById("Menu").submit;
	  }
	</script>
	<div>
		<s:form id="Menu" method="post">
			<s:div id="headerGuid">

				<!-- 		  <img alt="Phyane Inc." src="/phyane/img/Title001.bmp" onclick="menuClick(0,'home')"> -->

				<s:div id="headerBtnDiv">
					<input type="submit" onclick="menuClick(0,'home')" value="Home" />
					<input type="submit" onclick="menuClick(1,'news')" value="News" />
					<input type="submit" onclick="menuClick(2,'charge')" id="eee"
						value="Charge" />
					<input type="submit" onclick="menuClick(3,'bbs')" class="btn"
						value="BBS" />
					<input type="submit" onclick="menuClick(4,'about')"
						value="About Us" />
					<input type="submit" onclick="menuClick(5,'link')"
						value="Friendly Link" />
				</s:div>
			</s:div>
		</s:form>
	</div>
</body>
</html>